package com.dailyblue.java.project.bookstore.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("user")
public class User implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private String address;
    private Integer state;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
    @TableLogic(delval = "1", value = "0")
    private Integer isDeleted;
    private Integer isAdmin;
}
